package org.concept.box.util;

import java.util.Random;

public class RandomUtils {

	public static int random(int min, int maxLimit) {
		int length = maxLimit-min;
		Random r = new Random();
		return  min+Math.abs(r.nextInt())%length;
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		 System.out.println(random(0,5));
	}

}
